package com.example.zhihuigongdi.service;

import com.example.zhihuigongdi.entity.Machinery;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zhihuigongdi.entity.respon.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuhongbin
 * @since 2024-04-17
 */
public interface IMachineryService extends IService<Machinery> {

    public Result addMachinery(Machinery machinery);
    public Result removeMachinery(int machineryId);
    public Result updateStatus(Machinery machinery);
    public Result getMachinery(int current,int size);
}
